// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
//重置样式
import 'style/reset.css'
//1像素边框问题
import 'style/border.css'
//解决移动端 点击 三百毫秒的问题
import fastClick from 'fastclick'
// 引入字体图标
import 'style/iconfont.css'
//引入轮播图插件
require('swiper/dist/css/swiper.css')
import VueAwesomeSwiper from 'vue-awesome-swiper'

//导入数据管理 js 文件
import store from './store'

//解决真机测试是部分手机白屏问题
import 'babel-polyfill'

Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)

//项目入口
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router:router,
  components: { App:App },
  template: '<App/>',
  //引入根 store 实例
  store:store
})
